from ui.Ui_VHLayout import Ui_MainWindow
from PyQt5.QtWidgets import QApplication, QMainWindow
import sys

if __name__ == '__main__':
    # 创建应用程序
    app = QApplication(sys.argv)

    # 创建窗体
    win = QMainWindow()

    # 创建UI
    ui = Ui_MainWindow()
    # 设置UI到窗体
    ui.setupUi(win)

    # 显示窗体
    win.show()

    # 进入应用程序的消息循环
    sys.exit(app.exec_())